package com.kou.dao;

import com.kou.pojo.Cart;

import java.util.List;

/**
 * @author SteinY
 * @create 2022-03-25 15:51
 * @description:
 */
public interface CartDao {
    void create(String pid, int uid, int price);

    List<Cart> findCarts(String uid);

    void delete(String cid);

    void update(String cid, String cnum, String price);

    void clear(String uid);

    Cart findCart(String pid, int uid);
}
